// 导入axios实例
import httpRequest from '../request/index'


// 获取电视剧全部年份
export function doCollect(data) {
    return httpRequest({
        timeout: 20000,
        baseURL: '/admin',
        url: '/collect',
        method: 'post',
        data: data,
        headers: { Authorization: window.sessionStorage.getItem('token') }
    });
}